package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.CertificationAuditReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
 * 服运营端-务人员审核
 * @author lww
 */
public interface WorkerCertificationAuditService extends IService<WorkerCertificationAudit> {
    PageResult<WorkerCertificationAuditResDTO> queryPage(WorkerCertificationAuditPageQueryReqDTO dto);

    /**
     * 审核服务人员的认证信息
     * @param dto 认证信息审核请求体
     * @param id 认证信息id
     */
    void audit(CertificationAuditReqDTO dto, Long id);
}
